import axios from "@/api/http";
import qs from "qs";

const getAnnouncement=(params:any={})=>{
    return  axios.post('/redis/getAnnouncement',params)
}
const setAnnouncement=(params:any={})=>{
    return  axios.post('/redis/setAnnouncement',qs.stringify(params))
}
export default {
    getAnnouncement,
    setAnnouncement

}